<?php

namespace App\Services;

class HelpService
{
    public static function cdnAsset($path)
    {
        $assetsUrl = config('app.asset_url');
        if ($assetsUrl) {
            return $assetsUrl . $path;
        }
        return config('app.url') . $path;
    }
}
